home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
patchlib539.lha
/
patchlib
/
include
/
PatchObsolete.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-12-07
|
1KB
|
38 lines
#ifndef LIBRARIES_PATCHOBSOLETE_H
#define LIBRARIES_PATCHOBSOLETE_H
/*****************************************************************************/
/*
** Filename: libraries/patchobsolete.h
** Release: 5.0
** Date: 20.08.96
**
** definition of structures, which are obsolete with the current version
** of patch.library
**
** (C) Copyright 1993-96 Stefan Fuchs
** All Rights Reserved
*/
/*****************************************************************************/
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
/*----------------------------------------------------------------------------*/
/* Structure required to install new patches via patch.library/InstallPatch() */
struct NewPatch /*this structure is OBSOLETE from V2 on */
{
APTR NPAT_NewCode; /* pointer to the patch code to be installed */
ULONG NPAT_NewCodeSize; /* optional length of NPAT_NewCode in bytes */
APTR NPAT_LibraryName; /* pointer to the LibraryName */
UWORD NPAT_LibVersion; /* version of Library to open */
WORD NPAT_LVO; /* LVO of function to patch */
WORD NPAT_Priority; /* Priority (-127...+126) of the patch */
UWORD NPAT_Flags; /* currently none defined (keep zero) */
APTR NPAT_PatchName; /* optional pointer to an IDString */
APTR NPAT_Result2; /* optional pointer to longword for Result2 */
};
#endif /* LIBRARIES_PATCHOBSOLETE_H */